# $OpenBSD: Makefile,v 1.19 2016/09/10 13:03:44 ajacoutot Exp $

COMMENT=		minimalist window manager for the X Window System

DISTNAME=		evilwm-1.0.1
CATEGORIES=		x11
REVISION=		0

HOMEPAGE=		http://www.6809.org.uk/evilwm/

MAINTAINER=		Victor Sahlstedt <salan@legonet.org>

# 9wm license
PERMIT_PACKAGE_CDROM=	Yes
WANTLIB=		X11 Xext Xrandr c

MASTER_SITES=		${HOMEPAGE}

MAKE_FLAGS=		XROOT='${X11BASE}' CC='${CC}'

NO_TEST=		Yes

DOCDIR=			${PREFIX}/share/doc/evilwm

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${PREFIX}/man/man1
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}

.include <bsd.port.mk>
